package com.mumu.muPictureBackend.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mumu.muPictureBackend.model.dto.user.UserCreateRequest;
import com.mumu.muPictureBackend.model.dto.user.UserQueryRequest;
import com.mumu.muPictureBackend.model.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface AdminService extends IService<User> {
    Long createUser(UserCreateRequest userCreateRequest);

    User getUserById(Long userId);

    Boolean deleteById(Long userId);

    QueryWrapper<User> getQueryWrapper(UserQueryRequest userQueryRequest);
}
